//---------------------------------------------------------------------------

#ifndef FormPrib1H
#define FormPrib1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "FR_Class.hpp"
#include "FR_Ctrls.hpp"
#include "FR_View.hpp"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>
#include <DB.hpp>
#include <IBCustomDataSet.hpp>
#include <IBQuery.hpp>
#include "FR_DBSet.hpp"
#include "FR_DSet.hpp"
#include <AppEvnts.hpp>
#include "class_TabCtrl.h"
//---------------------------------------------------------------------------
class TFRepPrib1 : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel2;
        TfrPreview *fP;
        TPanel *Panel4;
        TfrSpeedButton *frSpeedButton2;
        TfrSpeedButton *frSpeedButton1;
        TfrSpeedButton *frSpeedButton3;
        TfrSpeedButton *frSpeedButton4;
        TfrSpeedButton *frSpeedButton5;
        TfrSpeedButton *frSpeedButton6;
        TfrSpeedButton *frSpeedButton7;
        TfrSpeedButton *frSpeedButton10;
        TPanel *Panel3;
        TBitBtn *BitBtn1;
        TfrReport *RepIn;
        TLabel *Label1;
        TDateTimePicker *BegDate;
        TLabel *Label2;
        TDateTimePicker *EndDate;
        TIBQuery *AskIncom;
        TIBQuery *AskOutcome;
        TIBQuery *AskSum;
        TfrDBDataSet *dsIn;
        TfrDBDataSet *dsOut;
        TfrDBDataSet *dsSum;
        TApplicationEvents *ApplicationEvents1;
        TLabel *Label3;
        TBitBtn *SpeedButton1;
        TIBQuery *AskZCome;
        TfrDBDataSet *dsZ;
        void __fastcall SpeedButton1Click(TObject *Sender);
        void __fastcall frSpeedButton2Click(TObject *Sender);
        void __fastcall frSpeedButton1Click(TObject *Sender);
        void __fastcall frSpeedButton3Click(TObject *Sender);
        void __fastcall frSpeedButton4Click(TObject *Sender);
        void __fastcall frSpeedButton5Click(TObject *Sender);
        void __fastcall frSpeedButton6Click(TObject *Sender);
        void __fastcall frSpeedButton7Click(TObject *Sender);
        void __fastcall frSpeedButton10Click(TObject *Sender);
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall RepInUserFunction(const AnsiString Name,
          Variant &p1, Variant &p2, Variant &p3, Variant &Val);
        void __fastcall BegDateChange(TObject *Sender);
        void __fastcall EndDateChange(TObject *Sender);
        void __fastcall ApplicationEvents1Message(tagMSG &Msg,
          bool &Handled);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
        TTabCtrl *Disp;
public:		// User declarations
        __fastcall TFRepPrib1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFRepPrib1 *FRepPrib1;
//---------------------------------------------------------------------------
#endif
